package com.cldz.service;

import com.cldz.dao.UserPropertyMapper;
import com.cldz.common.dto.req.AreaDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 14:52 2018/12/20
 * @ Description：
 * @ Modified By：
 */
@Service("userService")
public class UserService {

    @Autowired
    private UserPropertyMapper userPropertyMapper;

    public AreaDto getUserPermissionArea(Integer userID){
        AreaDto areaByUserID = userPropertyMapper.getAreaByUserID(userID);
        return areaByUserID;
    }
}
